package com.wang.service;

import com.wang.pojo.LoginParam;
import com.wang.pojo.SysUser;
import com.wang.vo.Result;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface LoginService {

    Result login(LoginParam loginParam);

    SysUser checkToken(String token);

    Result logout(String token);

    Result register(LoginParam loginParam);
}
